package com.allwees.bs.c.module.order.req;

import com.allwees.bs.core.modelbase.constant.ErrorMessage;
import lombok.Data;
import org.hibernate.validator.constraints.Range;

import javax.validation.constraints.NotEmpty;

@Data
public class OrderCancelReq {

    //订单uuid
    @NotEmpty(message = ErrorMessage.PARAM_NOT_NULL)
    private String orderUuid;

    //流转步骤的原因
    @Range(max = 32, message = ErrorMessage.PARAM_RANGE_ERROR)
    private Integer reason;
}
